from django.shortcuts import render

# Create your views here.
from django.views.generic import ListView
from .models import zhiweibiao
class zhiweibiaoListView(ListView):
    model = zhiweibiao

def index(request):
	return render(request, 'zzb/index.html',)

def mingce(request):
	zhiweibiaos = zhiweibiao.objects.all()
	return render(request, 'zzb/ming_ce.html',{'zhiweibiaos':zhiweibiaos})